package cn.edu.zafu.demo.ui.view;

import com.hannesdorfmann.mosby.mvp.MvpView;

/**
 * @author lizhangqu
 * @since 2016-02-21 10:31
 */
public interface LoginView extends MvpView {

    public static final int USERNAME_OR_PASSWORD_EMPTY = 0x01;
    public static final int USERNAME_OR_PASSWORD_ERROR = 0x02;
    public static final int SERVER_ERROR = 0x03;

    void onLoginSuccess();

    void onLoginFailure(int code);
}
